import home from './httpApi/home.js'
import order from './httpApi/order.js'
import news from './httpApi/news.js'
import my from './httpApi/my.js'
import shopCart from './httpApi/shopCart.js'
import classify from './httpApi/classification.js'
import expand from './httpApi/pagesB/Expand.js'
import shoppingCard from './httpApi/shoppingCard.js'
import Order from './httpApi/order.js'

const api = {
    home,
    order,
    news,
    my,
    shopCart,
    classify,
    expand,
    shoppingCard,
	Order
};

// 上传
api.upload = {
    upload: '/app/common/upload'
}

api.classificationList = {
    getClassificationList: "/app/goods_type/label",
};

// 商铺
api.new_shop = {
    // 根据经纬度返回城市信息
    jwdDetails: '/chinaCity/getCityNameAndRealShopNum',
    // 热门地址
    hotCity: '/app/shop/hotCity',
    // 商铺列表
    shopList: '/app/shop/list',
    // 商铺详情
    shopDetails: '/app/shop/detail',
	// 修改店铺信息
	shopUpdate:'/app/shop/update',
	// 当前位置
	newCity:'/app/shop/getCityNameAndShopNum'
}



// 登录
api.login = {
    Wxlogin: "/wx/user/login",
    BindMobilePhoneNumber: "/wx/user/active_account",
};

export default api;